public class Main {

    public static void main(String[] args){
        ArrayStack<Integer> myStack = new ArrayStack<Integer>(50);
        myStack.push(20);
        myStack.push(10);
        myStack.push(30);
        System.out.print(myStack.size());


        System.out.print(myStack.top());
    }
}
